import request from '@/utils/request'

// 查询直播间关注列表
export function listStudioAttention(query) {
  return request({
    url: '/system/StudioAttention/list',
    method: 'get',
    params: query
  })
}

// 查询直播间关注详细
export function getStudioAttention(id) {
  return request({
    url: '/system/StudioAttention/' + id,
    method: 'get'
  })
}

// 新增直播间关注
export function addStudioAttention(data) {
  return request({
    url: '/system/StudioAttention',
    method: 'post',
    data: data
  })
}

// 修改直播间关注
export function updateStudioAttention(data) {
  return request({
    url: '/system/StudioAttention',
    method: 'put',
    data: data
  })
}

// 删除直播间关注
export function delStudioAttention(id) {
  return request({
    url: '/system/StudioAttention/' + id,
    method: 'delete'
  })
}
